package com.guofen.service.sjq;

import com.guofen.pojo.SjqFlocculationProduceFault;

import java.util.List;
import java.util.Map;

public interface SjqFlocculationProduceFaultService {
    boolean addForm(String equipmentName, String downtime, String operate_person, String fault_description,
                    String start_time, String end_time, String personIncharge, String repair_person,
                    String fault_analysis, String repair_method, String method_person, String recovery_time,
                    String check_person);

    SjqFlocculationProduceFault findForm();

    List<String> findFaultEquipList();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(SjqFlocculationProduceFault record);
}
